import request from '@/utils/request'

// 查询工时填报子列表
export function listManHourDetail(query) {
  return request({
    url: '/system/teachcast/list',
    method: 'get',
    params: query
  })
}

// 查询工时填报子详细
export function getManHourDetail(id) {
  return request({
    url: '/system/manHourDetail/' + id,
    method: 'get'
  })
}

// 删除工时填报子
export function delManHourDetail(id) {
  return request({
    url: '/system/manHourDetail/' + id,
    method: 'delete'
  })
}
// 新增工时填报子
export function addManHourDetail(data) {
  return request({
    url: '/system/manHourDetail',
    method: 'post',
    data: data
  })
}

// 修改工时填报子
export function updateManHourDetail(data) {
  return request({
    url: '/system/manHourDetail',
    method: 'put',
    data: data
  })
}

